package vip.zhenzicheng.jvm;

/**
 * @author zhenzicheng
 * @DESCRIPTION: 测试自定义类加载器读取demo
 * @DATE: 2022/05/14 9:57 PM
 */
public class HelloWorld {
  public static void main(String[] args) {
    Object o = new Object();

    new Thread(() -> {
      synchronized (o) {
        // some codes here ...
      }
    }, "t1").start();
  }

  @Override
  public String toString() {
    return "我是使用自定义类加载器读取的类~";
  }

}
